package cn.tedu._02notice.base.response;

public class JsonResult {
    //内部状态码、提示消息、具体数据
    private Integer state;
    private String message;
    private Object data;

    public JsonResult(Integer state, String message, Object data) {
        this.state = state;
        this.message = message;
        this.data = data;
    }

    public JsonResult() {
    }

    //set()/get()/全参构造、无参构造
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
